package com.d3works.apps.businessproduction.module;

import com.d3works.app.D3worksModule;
import com.d3works.apps.businessproduction.db.repo.ManufOrderBusinessProductionManagementRepository;
import com.d3works.apps.businessproduction.service.CostSheetServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.InvoicingProjectServiceBusinessProdImpl;
import com.d3works.apps.businessproduction.service.ManufOrderServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.ManufOrderValidateBusinessService;
import com.d3works.apps.businessproduction.service.ManufOrderValidateBusinessServiceImpl;
import com.d3works.apps.businessproduction.service.OperationOrderServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.OperationOrderTimesheetService;
import com.d3works.apps.businessproduction.service.OperationOrderTimesheetServiceImpl;
import com.d3works.apps.businessproduction.service.OperationOrderValidateBusinessService;
import com.d3works.apps.businessproduction.service.OperationOrderValidateBusinessServiceImpl;
import com.d3works.apps.businessproduction.service.OperationOrderWorkflowServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.ProductionOrderSaleOrderServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.ProductionOrderServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.ProductionOrderWizardServiceBusinessImpl;
import com.d3works.apps.businessproduction.service.SaleOrderLineBusinessProductionServiceImpl;
import com.d3works.apps.businessproduction.service.SaleOrderWorkflowServiceBusinessProductionImpl;
import com.d3works.apps.businessproduction.service.TimesheetBusinessProductionServiceImpl;
import com.d3works.apps.businessproject.service.InvoicingProjectService;
import com.d3works.apps.businessproject.service.SaleOrderLineProjectServiceImpl;
import com.d3works.apps.businessproject.service.TimesheetProjectServiceImpl;
import com.d3works.apps.production.db.repo.ManufOrderManagementRepository;
import com.d3works.apps.production.service.SaleOrderWorkflowServiceProductionImpl;
import com.d3works.apps.production.service.costsheet.CostSheetServiceImpl;
import com.d3works.apps.production.service.manuforder.ManufOrderServiceImpl;
import com.d3works.apps.production.service.operationorder.OperationOrderServiceImpl;
import com.d3works.apps.production.service.operationorder.OperationOrderWorkflowService;
import com.d3works.apps.production.service.productionorder.ProductionOrderSaleOrderServiceImpl;
import com.d3works.apps.production.service.productionorder.ProductionOrderServiceImpl;
import com.d3works.apps.production.service.productionorder.ProductionOrderWizardServiceImpl;

public class BusinessProductionModule extends D3worksModule {

  @Override
  protected void configure() {
    bind(ProductionOrderServiceImpl.class).to(ProductionOrderServiceBusinessImpl.class);
    bind(CostSheetServiceImpl.class).to(CostSheetServiceBusinessImpl.class);
    bind(ManufOrderServiceImpl.class).to(ManufOrderServiceBusinessImpl.class);
    bind(OperationOrderServiceImpl.class).to(OperationOrderServiceBusinessImpl.class);
    bind(ProductionOrderServiceImpl.class).to(ProductionOrderServiceBusinessImpl.class);
    bind(ProductionOrderWizardServiceImpl.class).to(ProductionOrderWizardServiceBusinessImpl.class);
    bind(ProductionOrderSaleOrderServiceImpl.class)
        .to(ProductionOrderSaleOrderServiceBusinessImpl.class);
    bind(InvoicingProjectService.class).to(InvoicingProjectServiceBusinessProdImpl.class);
    bind(OperationOrderWorkflowService.class).to(OperationOrderWorkflowServiceBusinessImpl.class);
    bind(ManufOrderValidateBusinessService.class).to(ManufOrderValidateBusinessServiceImpl.class);
    bind(OperationOrderValidateBusinessService.class)
        .to(OperationOrderValidateBusinessServiceImpl.class);
    bind(TimesheetProjectServiceImpl.class).to(TimesheetBusinessProductionServiceImpl.class);
    bind(OperationOrderTimesheetService.class).to(OperationOrderTimesheetServiceImpl.class);
    bind(ManufOrderManagementRepository.class)
        .to(ManufOrderBusinessProductionManagementRepository.class);
    bind(SaleOrderWorkflowServiceProductionImpl.class)
        .to(SaleOrderWorkflowServiceBusinessProductionImpl.class);
    bind(SaleOrderLineProjectServiceImpl.class)
        .to(SaleOrderLineBusinessProductionServiceImpl.class);
  }
}
